import {request} from "../../utils/request"
Page({

  /**
   * 页面的初始数据
   */
  data: {
    order:[]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  async onLoad() {
    let orderData =  await request('/order') as any
    this.setData({
      order:orderData.data
    })
    
  }
})